<script src="/ckeditor/ckeditor.js" type="text/javascript"></script>

<div class="pad-10">

	<div class="navigate">
		<h1>留言回复</h1>
		<a class="button fr" href="javascript:history.back(-1);">返回</a>
  	</div>
  	
<div class="col-tab">
<ul class="tabBut cu-li">
	<li id="tab_setting_1" class="on"
		onclick="SwapTab('setting','on','',2,1);">留言回复</li>
</ul>
<div id="div_setting_1" class="contentList pad-10">
<table width="100%" cellpadding="2" cellspacing="1" class="table_form">
	<tr>
		<th>留言编号:</th>
		<td>{$msg.id}</td>
	</tr>

	<tr>
		<th width="100">会员名:</th>
		<td>{$msg.user_name}</td>
	</tr>
	<tr>
		<th>留言类型：</th>
		<td>
			 <volist name="msg_types" id="t">
			 		<input type="radio" id="type_{$t.id}" name="type" value="{$t.id}" <if condition="$msg['type'] eq $t['id']">checked="checked"</if> />
					<label for="type_{$t.id}">{$t.name}</label>
					&nbsp;
					&nbsp;
			 </volist>
		
		</td>
	</tr>
	<tr>
		<th width="100">主题 :</th>
		<td>
			<input type="text" name="title" id="title" value="{$msg.title}" style="width:505px;" />
		</td>
	</tr>
	<tr>
		<th width="100">内容:</th>
		<td>
			<textarea id="content" rows="5" cols="80">{$msg.content}</textarea>
			<script type="text/javascript">
				var editorContent = CKEDITOR.replace("content");
			</script>
		</td>
	</tr>


	<tr>
		<th width="100">留言时间:</th>
		<td>{$msg.created}</td>
	</tr>
	<tr>
		<th width="100">回复:</th>
		<td>
			<textarea id="reply" rows="5" cols="80">{$msg.reply}</textarea>
			<script type="text/javascript">
				var editorReply = CKEDITOR.replace("reply");
			</script>
		</td>
	</tr>
	<tr>
		<th width="100">回复人:</th>
		<td>
			{$msg.admin_name}
		</td>
	</tr>
	<tr>
		<th width="100">回复时间:</th>
		<td>
			{$msg.reply_time}
		</td>
	</tr>
	<tr>
		<th width="100">状态 :</th>
		<td>
		
		<input type="radio" id="status_1" name="status" value="1" <eq name="msg.status" value="1">checked="checked"</eq> />
		<label for="status_1">待处理</label>
		
		<input type="radio" id="status_2" name="status" value="2" <eq name="msg.status" value="2">checked="checked"</eq> />
		<label for="status_2">处理中</label>
		
		<input type="radio" id="status_3" name="status" value="3" <eq name="msg.status" value="3">checked="checked"</eq> />
		<label for="status_3">已完成</label>
		
		</td>
	</tr>
	
	<tr>
		<th width="100">隐藏 :</th>
		<td>
			<input type="radio" id="disabled_0" name="disabled" value="0" <eq name="msg.disabled" value="0">checked="checked"</eq> />
			<label for="disabled_0">显示</label>
			
			<input type="radio" id="disabled_1" name="disabled" value="1" <eq name="msg.disabled" value="1">checked="checked"</eq> />
			<label for="disabled_1">隐藏</label>
		</td>
	</tr>

</table>
</div>

<div class="bk15"></div>
<div class="btn"><input type="button" class="button" value="保存修改" id="btnSave" />
</div>
</div>
</div>


<input type="hidden" id="hd_id" value="{$msg.id}" />
<script type="text/javascript" src="/Js/adm/message/detail.js"></script>